package com.osc.exam.service.impl;

import com.osc.exam.dao.PostDao;
import com.osc.exam.entity.domain.Post;
import com.osc.exam.service.PostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PostServiceImpl implements PostService {
    @Autowired
    private PostDao postDao;

    @Override
    public List<Post> queryAll() {
        return postDao.queryAll();
    }
}
